package com.qiujie.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("per_role_level")
@ApiModel(value = "RoleLevel对象", description = "角色职级")
@NoArgsConstructor // 无参构造
@AllArgsConstructor // 全参构造
public class RoleLevel {
    @TableId("role_code")
    private String roleCode;

    private String level; // 枚举类型：普通/中级/高级

    @TableField("position_type")
    private String positionType; // 领导类型
}
